package com.zhy.order;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 随缘而愈
 * @version 1.0
 * @description Order微服务启动类
 * @date 11/2/2024 下午2:14
 */
@SpringBootApplication
@ComponentScan(value = "com.zhy")
@EnableCaching
public class OrderApplication {
    public static void main(String[] args) {
        System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector");
        SpringApplication.run(OrderApplication.class,args);
    }
}
